const path = require('path')
const webpack = require('webpack')
const webpackBaseConfig = require('./webpack.base')

process.env.NODE_ENV = merge(webpackBaseConfig, {
  entry: {
    main: path.resolve(__dirname, './src/'),
  },
  output: {
    path: '',
  },
  plugins: [
    new webpack.DefinePlugin({
      'process.env.NODE_ENV': '"production"',
    }),
  ],
})
